module.exports = {
  outputDir: 'dist',
  assetsDir: 'static',
  publicPath: '../../',
  publicPath: './',
  configureWebpack: {
    resolve: {
      alias: {
        'assets': '@/assets',
        'common': '@/common',
        'components': '@/components',
        'network': '@/network',
        'views': '@/views'
      }
    }
  },
  chainWebpack: config => {
    config.module
      .rule('css')
      .test(/\.css/)
      .oneOf('vue')
      .resourceQuery(/\?vue/)
      .use('px2rem')
      .loader('px2rem-loader')
      .options({
        remUnit: 75
      })
  },
  // proxy: {}

}
